package anji.plus.system.mark.service;

import anji.plus.system.mark.base.IBaseService;
import anji.plus.system.mark.domain.PrizeConfig;
import anji.plus.system.mark.domain.PrizeRecord;
import anji.plus.system.mark.domain.SysUser;
import anji.plus.system.mark.dto.PrizeInfoRecord;

import java.util.List;

/**
 * <p>
 * 账户记录表 服务类
 * </p>
 *
 * @author zhouchong
 * @since 2023-11-08
 */
public interface IPrizeRecordService extends IBaseService<PrizeRecord> {

    /***
     * 抽奖
     * zhouchong 12.
     *
     * @return**/

    String raffle(String name, String prizeLevel, String prizeType);

    List<PrizeConfig>  prizeList(String prizeLevel);

    /***
     * @Description: 查询用户可用次数
     * @Author: zhouchong
     * @Date: 2023/12/12 15:30
     * @Param name:
     **/
    String queryUserTimes(String name);

    SysUser queryUserInfo(String name);

    List<PrizeInfoRecord> prizeInfo();
}
